package demo2;

public class Test {
    public static void drawMap(IShape ishape){
        ishape.draw();
    }

    public static void main(String[] args) {
        drawMap(new Cycle());
        drawMap(new Rect());

    }
}
